package com.qzd.springcloud.server;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.qzd.springclude.entity.Dept;

import feign.Param;

	@FeignClient(value="MICROSERVICECLOUD-DEPT")
	public interface DeprServerFeignClien {
		@PostMapping(value="/dept/findbyid/{id}")
		public Dept findByid(@PathVariable("id")Integer id);
	}


